﻿using RJi.FanucInterface3.Common.Enum;

namespace RJi.FanucInterface3.Common;

public interface IReader
{
    IReadOnlyDictionary<string, object> InputVariables { get; }
    IReadOnlyDictionary<string, object> OutputVariables { get; }
    IReadOnlyDictionary<string, object> PrimaryTableVariables { get; }
    IReadOnlyDictionary<string, object> SecondTableVariables { get; }

    object? ReadInput(InputType type, int startIndex = 1, int count = 1);

    object? ReadOutput(OutputType type, int startIndex = 1, int count = 1);
}